package com.ykq.dao;

import com.ykq.entity.Staff;
import org.apache.ibatis.annotations.Param;

public interface StaffDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Staff record);

    int insertSelective(Staff record);

    Staff selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Staff record);

    int updateByPrimaryKey(Staff record);

    Staff selectByUsernameAndPasasword(@Param("username") String username,@Param("password") String password);
}